package com.lfs.admin.dao;

import com.lfs.admin.model.entity.dataPackage.DataUploadImageEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DataUploadImageDao {

    List<DataUploadImageEntity> getUploadImageList(@Param("detailId") Integer detailId);

    void insertUploadImage(List<DataUploadImageEntity> list);

    int deleteUploadImage(int id);

    void deleteUploadImageByDetailId(List<Integer> detailList);

    List<DataUploadImageEntity> queryAll(DataUploadImageEntity detail);

    void deleteDataUploadImageByDetailId(int id);

    int insertSelective(DataUploadImageEntity entity);

    List<DataUploadImageEntity> queryAllByDataUploadId(Integer dataUploadId);

}
